// interface IRes {
//     code: 10000 | 10001 | 10002 | 50000
//     status: 'success' | 'fail'
//     data: any
// }

type Code = 10000 | 10001 | 10002 | 50000